﻿namespace Vestras.StarCraft2.Luna.Parser.Ast {
    public sealed class Typedef : Entity {
        public TypeReference OriginalType { get; internal set; }
        public Expression CreatedType { get; internal set; }
        public int OrderIndex {
            get;
            set;
        }

        public override string ToString() {
            return GetType().Name + " OriginalType = [ " + OriginalType + " ], CreatedType = [ " + CreatedType + " ]";
        }
    }
}
